{{ $more := "<!--more-->" }}

{{ if (in (.RawContent) ($more)) }}{{ (.Summary) }}{{ else }}<p>{{ (.Summary) }}</p>{{ end }}
